package com.pinyou.config;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @Title: ApplicationCloudConfig
 * @Description:
 * @Auther:
 * @create 2020/3/18 14:00
 */
@EnableAsync //开启基于注解的异步处理
@EnableScheduling
@EnableConfigServer
@SpringBootApplication
public class ApplicationCloudConfig {
    public static void main(String[] args) {
        SpringApplication.run(ApplicationCloudConfig.class,args);
    }
}
